package com.itany.ems.dao;

import com.itany.ems.entity.Emp;
import com.itany.ems.exception.DataAccessException;

import java.util.List;

public interface EmpDao  {
    public void insertEmp(Emp emp) throws DataAccessException;

    public void deleteEmp(int id) throws DataAccessException;

    public List<Emp> selectAll() throws DataAccessException;

    public void updateEmp(Emp emp) throws DataAccessException;

    public void insert(Emp emp) throws DataAccessException;
}
